package com.zdwl.dao;

import com.zdwl.pojo.MainInfo;
import com.zdwl.pojo.MainInfoExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface MainInfoMapper {
    int countByExample(MainInfoExample example);

    int deleteByExample(MainInfoExample example);

    int deleteByPrimaryKey(String maininfoid);

    int insert(MainInfo record);

    int insertSelective(MainInfo record);

    List<MainInfo> selectByExample(MainInfoExample example);

    MainInfo selectByPrimaryKey(String maininfoid);

    int updateByExampleSelective(@Param("record") MainInfo record, @Param("example") MainInfoExample example);

    int updateByExample(@Param("record") MainInfo record, @Param("example") MainInfoExample example);

    int updateByPrimaryKeySelective(MainInfo record);

    int updateByPrimaryKey(MainInfo record);
}